import request from '../utils/request';
//仓库管理业务接口文档
const api = {
  //库位-分页获取库位信息
  GetMatchPageWarehouseAreasShelf(data?: any) {
    return request({
      url: '/api/WarehouseAreaShelf/GetMatchPageWarehouseAreasShelf',
      method: 'post',
      data,
    });
  },
  //库位-禁用/启用 货架
  IsDisabledWarehouseAreaShelf(data?: any) {
    return request({
      url: '/api/WarehouseAreaShelf/IsDisabledWarehouseAreaShelf',
      method: 'post',
      data,
    });
  },
  //库位-删除库位
  DeleteWarehouseAreaShelf(data?: any) {
    return request({
      url: '/api/WarehouseAreaShelf/DeleteWarehouseAreaShelf',
      method: 'post',
      data,
    });
  },
  //修改仓库分区货架数据
  UpdateAreaShelf(data?: any) {
    return request({
      url: '/api/WarehouseAreaShelf/UpdateAreaShelf',
      method: 'post',
      data,
    });
  },
  //库位-根据数量新增库位
  AddAreaShelfByCount(data?: any) {
    return request({
      url: '/api/WarehouseAreaShelf/AddAreaShelfByCount',
      method: 'post',
      data,
    });
  },
};
//业务开单接口
export default api;
